<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>付款</title>
<link rel="icon" href="<c:url value="/img/favicon.ico"/>"/>
<link rel="stylesheet" type="text/css" href="<c:url value="/css/base.css"/>" />
<link rel="stylesheet" type="text/css" href="<c:url value="/css/passport.login.css"/>" />
<script type="text/javascript" src="<c:url value="/js/jquery-1.2.6.js"/>"></script>
<script type="text/javascript" language="javascript">
    function pay(){
        url = '/RemoteSensing/order/pay.action?orderId=' + ${ORDER_ID};
    	jQuery.ajax({
	        type:"GET",
	        dataType:"json",
	        url: url,
	        
	        success:function (data) {
		        if(data.ERROR == "SUCCESS"){
		        	window.location.href = '/RemoteSensing/order/listOrders.action';
			    }else{
					alert("支付过程发生错误！");
					window.location.reload();
				}
	        		
        		
		    }
	    });
		
    }
</script>
</head>
<body>
<script src="<c:url value="/js/base-v1.js"/>" type="text/javascript"></script>
	<jsp:include page="/jsp/shortcut.jsp"/>
	<jsp:include page="/jsp/header.jsp"/>
	
			<div class="w">
				<div id="rsuccess">
					<div class="item2">
						<input type="button" value="确认付款" onclick="pay()"/>
					</div>
					<span class="clr"></span>
				</div>
			</div>


	<jsp:include page="/jsp/bottom.jsp"/>
	<script src="http://static.360buyimg.com/ept/lib/js/2012/lib-v1.js"  type="text/javascript"></script>
	<script type="text/javascript" src="http://misc.360buyimg.com/201007/js/ja6.js"></script>




</body>
</html>